package lesson17.cars;

public class CarDemo {

	public static void main(String[] args) {
		
		Jeep jeep = new Jeep();
		System.out.println("--== JEEP ==--");
		jeep.model = "Grand Cherokee";
		jeep.startEngine();
		jeep.switch4x4();
		jeep.accelerate(500);
		
		
		SportCar lambo = new SportCar();
		System.out.println("--== Lamborghini ==--");
		lambo.startEngine();
		lambo.accelerate(500);
		
		System.out.println(jeep);
		
		System.out.println(lambo);

	}

}
